home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / asm-mn10300 / proc-mn103e010 / irq.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  781 b   |  35 lines

  1. /* MN103E010 On-board interrupt controller numbers
  2.  *
  3.  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  4.  * Written by David Howells (dhowells@redhat.com)
  5.  *
  6.  * This program is free software; you can redistribute it and/or
  7.  * modify it under the terms of the GNU General Public Licence
  8.  * as published by the Free Software Foundation; either version
  9.  * 2 of the Licence, or (at your option) any later version.
  10.  */
  11.  
  12. #ifndef _ASM_PROC_IRQ_H
  13. #define _ASM_PROC_IRQ_H
  14.  
  15. #ifdef __KERNEL__
  16.  
  17. #define GxICR_NUM_IRQS        42
  18.  
  19. #define GxICR_NUM_XIRQS        8
  20.  
  21. #define XIRQ0        34
  22. #define XIRQ1        35
  23. #define XIRQ2        36
  24. #define XIRQ3        37
  25. #define XIRQ4        38
  26. #define XIRQ5        39
  27. #define XIRQ6        40
  28. #define XIRQ7        41
  29.  
  30. #define XIRQ2IRQ(num)    (XIRQ0 + num)
  31.  
  32. #endif /* __KERNEL__ */
  33.  
  34. #endif /* _ASM_PROC_IRQ_H */
  35.